[tool.coverage.run]
branch = true
source = [ "sample_app" ]

[tool.coverage.report]
exclude_lines = [ "if TYPE_CHECKING:" ]
show_missing = true

[tool.poetry]
name = "sample-app"
version = "0.0.1"
description = "Sample Application using Traceloop SDK"
authors = [
  "Gal Kleinman <gal@traceloop.com>",
  "Nir Gazit <nir@traceloop.com>",
  "Tomer Friedman <tomer@traceloop.com>"
]
license = "Apache-2.0"
readme = "README.md"

[[tool.poetry.packages]]
include = "sample_app"

[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
# Resolves a dependency conflict between `pydantic` and `transformers`
pydantic = "<2"
openai = "^1.12.0"
requests = "^2.31.0"
# farm-haystack = "^1.20.1"
# pinecone-datasets = "^0.6.2"
pinecone-client = {extras = ["grpc"], version = "^2.2.4"}
llama-index = "^0.10.13"
# workaround for: https://github.com/python-poetry/poetry-plugin-export/issues/183
urllib3 = ">=1.25.4,<1.27"
duckduckgo-search = "^3.9.3"
torch = "^2.1.0"
chromadb = "^0.4.22"
pandas = "~2.0.3"
tokenizers = "~0.15.0"
boto3 = "^1.33.1"
transformers = "^4.36.2"
replicate = "^0.22.0"
cohere = "^4.40"
anthropic = "^0.8.1"
# google-cloud-aiplatform = "^1.39.0"
python-dotenv = "^1.0.1"
langchain = "^0.1.9"
langchain-community = "^0.0.24"
llama-index-embeddings-huggingface = "^0.1.4"

[tool.poetry.dependencies.opentelemetry-instrumentation-openai]
path = "../opentelemetry-instrumentation-openai"
develop = true

[tool.poetry.dependencies.opentelemetry-instrumentation-haystack]
path = "../opentelemetry-instrumentation-haystack"
develop = true

[tool.poetry.dependencies.opentelemetry-instrumentation-pinecone]
path = "../opentelemetry-instrumentation-pinecone"
develop = true

[tool.poetry.dependencies.opentelemetry-instrumentation-replicate]
path = "../opentelemetry-instrumentation-replicate"
develop = true

[tool.poetry.dependencies.opentelemetry-instrumentation-vertexai]
path = "../opentelemetry-instrumentation-vertexai"
develop = true

[tool.poetry.dependencies.traceloop-sdk]
path = "../traceloop-sdk"
develop = true

[tool.poetry.group.dev.dependencies]
autopep8 = "2.0.4"
flake8 = "7.0.0"
pytest = "8.0.2"
pytest-sugar = "1.0.0"
pytest-cov = "4.1.0"
pytest-html = "4.1.1"

[build-system]
requires = [ "poetry-core" ]
build-backend = "poetry.core.masonry.api"
